package com.aaa.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Term_Financial {
    private Integer t_id;
    private String t_name;
    private String t_income;
    private double t_yield;
    private BigDecimal t_amount;
    private Integer h_id;
    private String h_deadline;
    private String h_day;

    public Term_Financial(String t_name, String t_income, double t_yield, BigDecimal t_amount, Integer h_id) {
        this.t_name = t_name;
        this.t_income = t_income;
        this.t_yield = t_yield;
        this.t_amount = t_amount;
        this.h_id = h_id;
    }

    public Term_Financial(String t_name, String t_income, double t_yield, BigDecimal t_amount, String h_deadline, String h_day,Integer t_id) {
        this.t_id = t_id;
        this.t_name = t_name;
        this.t_income = t_income;
        this.t_yield = t_yield;
        this.t_amount = t_amount;
        this.h_deadline = h_deadline;
        this.h_day = h_day;
    }
}
